unit Rails.DmMain;

interface

uses
  System.SysUtils, System.Classes, IndyPeerImpl, Datasnap.DSClientRest, Rails.DsConnection;

type
  TDataModule1 = class(TDataModule)
    DSRestConnection1: TDSRestConnection;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  DataModule1: TDataModule1;

implementation

{%CLASSGROUP 'System.Classes.TPersistent'}

{$R *.dfm}

initialization
  DataModule1 := TDataModule1.Create(nil);
  DSRestConection := DataModule1.DSRestConnection1;

finalization
  FreeAndNil(DataModule1);

end.
